<?php
foreach($results as $tours){ ?>

<div class="tour-container">
	<h5><?php echo $tours->tour;?></h5>
	<div class="show-content">
		<div class="tour-img">
			<a href="<?php echo base_url()."images/".$tours->tour_image;?>" title="<?php echo $tours->service; ?>">
				<img src="<?php echo base_url()."images/".$tours->tour_image;?>" width="150" height="100">
			</a>
		</div>
		<div class="tour-content">
			<?php if ($tours->service != null || $tours->service !="")
				echo "<p>".$tours->service."</p>";
			
			if ($tours->code!= null || $tours->code !="")
				echo "<p><b>Code :</b>".$tours->code."</p>";
			if ($tours->price != null || $tours->price != "")
				echo "<p><b>Price :</b><span class='prixe'>".$tours->price.'.00 $'."</span></p>";	
		?>
		<input type="button" onclick="window.location.href='<?php echo base_url().'tour/vtc_tour?id='.$tours->id; ?>';" class="btn_show" name="read_more" value="Read more..." />
		<input type="button" onclick="window.location.href='<?php echo base_url().'tour/vtc_book?id='.$tours->id; ?>';" class="btn_show" name="btn_booking" value="Book now" />
		</div>
	</div>
</div>
<?php }?>